﻿using System;
using Demo;
using UnityEngine;
using UnityEngine.UI;

public class DemoMain : MonoBehaviour
{
    // Start is called before the first frame update
    void Awake()
    {
        DontDestroyOnLoad(this.gameObject);
        gameObject.AddComponent<GameManager>();
        gameObject.AddComponent<LuaManager>();
        gameObject.AddComponent<ResourceManager>();

        Application.targetFrameRate = 60;
        
    }

    private void OnAccountChanged(string arg0)
    {
        throw new NotImplementedException();
    }
}
